m=eval(input())
n=eval(input())
list1=[1,1]
i=2
while i<=n-1:
    x=list1[i-2]+list1[i-1]
    list1.append(x)
    i+=1
j=m-1
while j<n:
    print(list1[j])
    j+=1
